<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
</html>
<script>
     var shengao = prompt('请输入男方的身高：')
    var rich = prompt('请输入男方的身价：(单位为W)')
    var yanzhi = prompt('请输入男方的颜值：')
    if (shengao > 180 && rich > 1000 && yanzhi > 80) {
        alert('我一定要嫁给他')
    } else if (shengao > 180 || rich > 1000 || yanzhi > 80) {
        alert('嫁吧，比上不足，比下有余')
    } else if (shengao <= 180 && rich <= 1000 && yanzhi <= 80) {
        alert('不嫁！')
    } 
</script>
